//
//  OosManagedContext.h
//  Oos4ios
//
//  Created by Pablo Gonzalez on 3/18/11.
//  Copyright 2011 11870.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@interface OosManagedContext : NSManagedObjectContext {
    @protected
    
    BOOL isMain;
    
}

+ (OosManagedContext *) context;

+ (OosManagedContext *) mainContext;

+ (id) moveObjectToMainContext: (id) object;

+ (id) moveObjectFromMainContext: (id) object;

+ (BOOL) clearContext;



@property (nonatomic) BOOL isMain;

@end
